html {
    font-family: Source Han Sans CN-Regular, Source Han Sans CN;
}

body {
    background-color: #F5F5F5;

    section {
        display: flex;
        max-width: 1520px;
        width: 100%;
        margin: 30px auto 0;

        &>div {
            height: calc(100vh - 110px);
            overflow-y: auto;

            h3 {
                font-size: 0;
                font-size: 18px;
                font-weight: bold;
                color: #205999;
                line-height: 0px;

                span {
                    font-size: 14px;
                }

                &::before {
                    content: "";
                    width: 4px;
                    height: 20px;
                    background: #205999;
                    border-radius: 0;
                    display: inline-block;
                    margin-right: 10px;
                    vertical-align: -3px;
                }
            }
        }

        .left {
            width: 422px;
            background: #FFFFFF;
            box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.1608);
            border-radius: 0px;
            box-sizing: border-box;
            padding: 20px;

            ol {
                font-size: 18px;
                font-weight: 500;
                color: #333333;
                padding: 0;
                font-size: 0;

                li {
                    margin-top: 15px;

                    .num {
                        font-size: 18px;
                        font-weight: 500;
                        color: #333333;
                        padding: 15px 0;
                    }

                    .bg {
                        padding: 10px;
                        background: #F5F5F5;
                        box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.1608);
                        border-radius: 0px;
                        display: flex;
                        flex-wrap: wrap;
                        align-items: center;

                        &:nth-of-type(n+2) {
                            margin-top: 10px;
                        }

                        span {
                            padding: 0 5px;
                            min-width: 23px;
                            height: 33px;
                            line-height: 33px;
                            text-align: center;
                            background: #205999;
                            border-radius: 0px;
                            font-size: 13px;
                            font-weight: 400;
                            color: #FFFFFF;
                            display: block;
                            margin: 9px;

                            &.error {
                                background-color: #EB3223;
                            }
                        }

                        img {
                            max-width: 100%;
                            margin: 10px auto;
                        }

                        p {
                            font-size: 16px;
                            font-weight: 400;
                            color: #333333;
                        }
                    }
                }
            }
        }

        .center {
            flex: 1;
            background: #FFFFFF;
            box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.1608);
            border-radius: 0px;
            box-sizing: border-box;
            padding: 20px;
            margin: 0 20px;

            ul {
                margin-top: 30px;

                li {
                    list-style: none;
                    margin-top: 50px;

                    &:first-of-type {
                        margin-top: 0;
                    }

                    p {
                        font-size: 16px;
                        font-weight: 400;
                        color: #333333;
                        line-height: 30px;

                        img {
                            margin: 0 4px;
                            vertical-align: middle;
                        }
                    }

                    .list {
                        display: flex;
                        flex-wrap: wrap;
                        font-size: 16px;
                        font-weight: 400;
                        color: #333333;
                        line-height: 30px;

                        span {
                            width: 110px;
                            img{
                                vertical-align: middle;
                            }
                        }

                        &.lists {
                            span {
                                width: auto;
                                margin-left: 40px;

                                &:first-of-type {
                                    margin-left: 0;
                                }
                            }
                        }
                    }

                    .bg {
                        padding: 20px;
                        background: #F5F5F5;
                        box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.1608);
                        border-radius: 0px;
                        margin-top: 20px;
                        // display: flex;
                        // flex-wrap: wrap;
                        // align-items: center;

                        &:nth-of-type(n+2) {
                            margin-top: 10px;
                        }

                        img {
                            max-width: 100%;
                            margin: 10px auto;
                        }

                        p {
                            font-size: 16px;
                            font-weight: 400;
                            color: #205999;
                        }
                    }
                }
            }
        }

        .right {
            width: 230px;
            background: #FFFFFF;
            box-shadow: 0px 0px 10px 1px rgba(210, 210, 210, 0.1608);
            border-radius: 0px;
            box-sizing: border-box;
            padding: 20px;

            ol {
                padding: 10px 20px 38px 20px;
                border-bottom: solid 1px #C1C1C1;

                li {
                    margin-top: 20px;
                    font-size: 18px;
                    font-weight: 500;
                    color: #333333;
                    line-height: 30px;

                    input {
                        width: 85px;
                        height: 29px;
                        background: #FFFFFF;
                        border-radius: 0px;
                        border: 1px solid #C1C1C1;
                        margin: 0 10px 0 6px;
                        box-sizing: border-box;
                        padding: 0 10px;
                    }
                }
            }

            p {
                font-size: 18px;
                font-weight: 500;
                color: #333333;
                line-height: 0px;
                margin-top: 34px;

                input {
                    box-sizing: border-box;
                    padding: 0 10px;
                    width: 85px;
                    height: 29px;
                    background: #FFFFFF;
                    border-radius: 0px;
                    border: 1px solid #C1C1C1;
                    margin: 0 10px 0 6px;
                    font-size: 16px;
                    font-weight: 400;
                    color: #333333;
                    line-height: 30px;
                }
            }

            textarea {
                width: 100%;
                height: 100px;
                border-radius: 0;
                border: 1px solid #C1C1C1;
                margin-top: 34px;
                box-sizing: border-box;
                padding: 10px;
                font-size: 16px;
                line-height: 20px;
                font-weight: 400;
                color: #333333;
                resize: none;
            }

            button {
                width: 189px;
                height: 40px;
                background: #205999;
                border-radius: 0px;
                font-size: 16px;
                font-weight: 400;
                color: #FFFFFF;
                line-height: 40px;
                border: none;
                outline: none;
                margin-top: 52px;
                cursor: pointer;
            }
        }
    }

    img {
        &[preview] {
            cursor: zoom-in;
        }
    }

    #preview {
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
        z-index: 50;
        background-color: rgba(0, 0, 0, 0.5);
        cursor: zoom-out;
        display: none;
        justify-content: center;
        align-items: center;

        &.show {
            display: flex;
        }

        img {
            width: 60%;
            height: 60%;
            max-width: 100vh;
            object-fit: contain;
            &.ratate1{
                transform: rotate(90deg);
            }
            &.ratate2{
                transform: rotate(180deg);
            }
            &.ratate3{
                transform: rotate(270deg);
            }
        }
        span{
            position: absolute;
            width: 30px;
            height: 30px;
            background-color: red;
            cursor: pointer;
            background: url("./images/旋转1.png") center / contain no-repeat;
            &:first-of-type{
                left: 20%;
                transform: translateX(-35px);
            }
            &:last-of-type{
                right: 20%;
                transform: translateX(35px) rotateY(180deg);
            }
        }
    }
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 5px;
    background-color: rgba(125, 125, 125, 0.7);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 5px;
    background-color: rgba(125, 125, 125, 0.7);
    border-radius: 6px;
}